/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package behaviourdiagram.impl;

import behaviourdiagram.Actuator;
import behaviourdiagram.Behaviour;
import behaviourdiagram.BehaviourdiagramPackage;
import behaviourdiagram.Mission;
import behaviourdiagram.Sensor;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Mission</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link behaviourdiagram.impl.MissionImpl#getSensor <em>Sensor</em>}</li>
 *   <li>{@link behaviourdiagram.impl.MissionImpl#getBehaviours <em>Behaviours</em>}</li>
 *   <li>{@link behaviourdiagram.impl.MissionImpl#getActuator <em>Actuator</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class MissionImpl extends CDOObjectImpl implements Mission {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MissionImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return BehaviourdiagramPackage.Literals.MISSION;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Sensor> getSensor() {
		return (EList<Sensor>)eGet(BehaviourdiagramPackage.Literals.MISSION__SENSOR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Behaviour> getBehaviours() {
		return (EList<Behaviour>)eGet(BehaviourdiagramPackage.Literals.MISSION__BEHAVIOURS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Actuator> getActuator() {
		return (EList<Actuator>)eGet(BehaviourdiagramPackage.Literals.MISSION__ACTUATOR, true);
	}

} //MissionImpl
